<?php

namespace app\api\controller;

use app\common\model\UserListModel;
use think\Controller;
use think\Request;

class UserRegister extends Controller
{

    public function index()
    {
        if (request()->isPost()) {
            $params = input('param.');
            $data = (new UserListModel())->updateData($params);
            return json_encode($data);
        }
    }


}
